using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("GroupMission")]
    public partial class GroupMission : BaseModel2
    {

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }

        /// <summary>
        /// 集采编码
        /// </summary>
        [SugarColumn(ColumnName = "GpCode")]
        public string GpCode { get; set; }

        /// <summary>
        /// 集采名称
        /// </summary>
        [SugarColumn(ColumnName = "GpName")]
        public string GpName { get; set; }

        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode { get; set; }

        /// <summary>
        /// 科室编码
        /// </summary>
        [SugarColumn(ColumnName = "DeptCode")]
        public string DeptCode { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        [SugarColumn(ColumnName = "DeptName")]
        public string DeptName { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnName = "OperCode")]
        public string OperCode { get; set; }

        /// <summary>
        /// 完成任务量
        /// </summary>
        [SugarColumn(ColumnName = "Qyt")]
        public decimal Qyt { get; set; } = 0;

        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(ColumnName = "Unit")]
        public string Unit { get; set; }

        /// <summary>
        /// 完成比例
        /// </summary>
        [SugarColumn(ColumnName = "Rate")]
        public decimal Rate { get; set; } = 0;

        /// <summary>
        /// 是否有效 1是0否
        /// </summary>
        [SugarColumn(ColumnName = "ValidFlag")]
        public string ValidFlag { get; set; } = "1";

        /// <summary>
        /// 操作时间
        /// </summary>
        [SugarColumn(ColumnName = "OperDate")]
        public DateTime OperDate { get; set; }

    }
}